/*
 * @Author: xia.duanjian
 * @Date: 2022-09-18 10:52:00
 * @LastEditors: xia.duanjian
 * @LastEditTime: 2022-09-18 10:55:15
 * @Description: file content
 */
const state = {
  sidebarList: []
}

const mutations = {
  SET_SIDEBARLIST: (state, data) => {
    state.sidebarList = data
  }
}

const actions = {
  setSidebarList ({ commit }, data) {
    commit('SET_SIDEBARLIST', data)
  }
}

export default {
  namespaced: true,
  state,
  mutations,
  actions
}
